package com.liang.blog.reception.mapper;

import com.liang.blog.model.BlogSessionList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：YanWenLiang
 * @Date:2024-05-02-15:27
 */
@Mapper
public interface BlogSessionListMapper {


    BlogSessionList getById(String curSessionListId);

    BlogSessionList getSessionListByUser(@Param("blogUserId") Long blogUserId, @Param("toBlogUserId") Long toBlogUserId);

    void insert(BlogSessionList tmpSessionList);

    BlogSessionList selectById(String sessionId);

    void updateById(BlogSessionList sessionList);

    List<BlogSessionList> getSessionListHistory(Long blogUserId);

    void removeById(String sessionListId);
}
